import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
class Club {
    private String name;
    private List<String> departments;
    private List<Student> members;
    private List<String> activities;

    public Club(String name) {
        this.name = name;
        departments = new ArrayList<>();
        members = new ArrayList<>();
        activities = new ArrayList<>();
    }

    public void addDepartment(String department) {
        departments.add(department);
    }

    public void addMember(Student student) {
        members.add(student);
    }

    public void removeMember(Student student) {
        members.remove(student);
    }

    public void addActivity(String activity) {
        activities.add(activity);
    }

    public List<String> getDepartments() {
        return departments;
    }

    public List<Student> getMembers() {
        return members;
    }

    public List<String> getActivities() {
        return activities;
    }

    public String getName() {
        return name;
    }
}
